package com.springboot.thymeleaf.springbootthymeleaf.api;

import com.springboot.thymeleaf.springbootthymeleaf.annotation.ApiController;
import com.springboot.thymeleaf.springbootthymeleaf.entity.SuErRequestWaybillWay;
import com.springboot.thymeleaf.springbootthymeleaf.entity.ThirdExpressVo;
import com.springboot.thymeleaf.springbootthymeleaf.entity.vo.CommonExpressVo;
import com.springboot.thymeleaf.springbootthymeleaf.entity.vo.SuErResponseVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname ${小柯}
 * @Description TODO
 * @Date 2019/10/15 20:18
 * @Created by Administrator
 */
@ApiController
@RequestMapping(value = "/express", produces = {"application/json"})
@Slf4j
public class ExpressApiController implements ExpressApi{



    @Override
    @PostMapping("/queryExpressProcessNew")
   public ResponseEntity<CommonExpressVo> queryExpressProcessNew(@RequestBody ThirdExpressVo thirdExpressVo){
       CommonExpressVo commonExpressVo = new CommonExpressVo();

       return new ResponseEntity<>(commonExpressVo, HttpStatus.OK);

   }

    @Override
    @PostMapping("/srWaybillReceive")
    public ResponseEntity<SuErResponseVo> srWaybillReceive(SuErRequestWaybillWay suErRequestWaybillWay) throws Exception {
        return null;
    }

}
